﻿using Microsoft.EntityFrameworkCore.Metadata.Internal;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYData.Entity.DomainModels.ApiEntity.Dto
{
    public class tb_project_recevertype_declareMessageInputDto
    {

        /// <summary>
        ///接收类型 0 All 1 角色 2 部门
        /// </summary>
        [Display(Name = "接收类型 0 All 1 角色 2 部门")]
        [Column(TypeName = "nvarchar(200)")]
        public string receiverTypeId { get; set; }

        /// <summary>
        ///接收者子类型 (/所有人/角色/部门 ID)
        /// </summary>
        [Display(Name = "接收者子类型 (/所有人/角色/部门 ID)")]
        [MaxLength(255)]
        [Column(TypeName = "nvarchar(255)")]
        public string receiverTypeItem { get; set; }

        /// <summary>
        ///是否阅读（1是，0否）
        /// </summary>
        [Display(Name = "是否阅读（1是，0否）")]
        [Column(TypeName = "bool")]
        public bool recipientState { get; set; } = true;

        /// <summary>
        ///申报通知外键
        /// </summary>
        [Display(Name = "申报通知外键")]
        [MaxLength(64)]
        [Column(TypeName = "nvarchar(64)")]
        public string declaremessageId { get; set; }
    }
}
